package ar.com.cooker.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * Objeto BO Lenguaje
 * @author c02536
 *
 */
@Entity
@Table(name = "ck_Language")
public class Language implements Serializable {

	private static final long serialVersionUID = 1166798137353763045L;
	
	@Id
	@Column(name = "id_language")
	private Integer id;
	
	@Column(length = 100)
	private String name;
	
	@Column(length = 10)
	private String code;
	
	public Language() {
	}

	public Language(Integer id, String name, String code) {
		this.id = id;
		this.name = name;
		this.code = code;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}
